If this is done with
Var(person) 1 SetLayer [ TRUE, FALSE, TRUE, TRUE ] SetDomain(WRITE) CreatePersObject(CX_PERSON, 3) -> person
is to be deleted correctly, the same settings must apply to layer and domain. The bit mask related to the base classes must be specified again:
DeleteObject(3)